<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>创建订单</title>
    <include file="Template/head"/>
<body>
<div class="actNav">
    <div class="doRefresh">订单填写</div>
    <a href="javascript:history.go(-1);" class="back"></a>
    <a href="{:U('Index/index')}" class="home"></a>
</div>
<div class="wapper ucenter" style="overflow: hidden">
    <form method="post" action="{:U('WxJsAPI/createOrder')}">
        <input type="hidden" name="flightNo" value="{$flightNo}">
        <input type="hidden" name="depCode" value="{$orgCity}">
        <input type="hidden" name="arrCode" value="{$dstCity}">
        <input type="hidden" name="depDate" value="{$date}">
        <input type="hidden" name="depTime" value="{$depTime}">
        <input type="hidden" name="arrTime" value="{$arriTime}">
        <input type="hidden" name="planeModel" value="{$planeModel}">
        <input type="hidden" name="policyId" value="{$policyId}">
        <input type='hidden' name='seatCode' value='{$seatCode}'>
        <input type='hidden' name='agencyId' value='{$agencyId}'>
        <input type="hidden" name="settlePrice" value="{$settlePrice}">
        <input type="hidden" name="childPrice" value="{$childPrice}">
        <input type="hidden" name="parPrice" value="{$parPrice}">
        <input type="hidden" name="fuelTax" value="{$fuelTax}">
        <input type="hidden" name="airportTax" value="{$airportTax}">
        <input type="hidden" name="orgJetquay" value="{$orgJetquay}">
        <input type="hidden" name="dstJetquay" value="{$dstJetquay}">
        <input type="hidden" name="specialParPrice" value="{$specialParPrice}">
        <input type="hidden" name="flightOrderCreate" value="{$Think.session.flightOrderCreate}">

        <p></p>

        <div class="row flight-row-s1 flight-create-top">
            <table style="width: 100%">
                <tr>
                    <td width="25%" style="padding-left: 10px;" class="text-left">{$date}</td>
                    <td width="70%" class="text-right" style="padding-right: 5px">{$flightNo|substr=0,2|nameToAirLine}
                        {$flightNo} | {$planeModel}
                    </td>
                </tr>
            </table>
        </div>

        <table style="width: 100%;line-height: 30px;">
            <tr>
                <td width="40%" class="text-left">
                    <span style="margin-left: 10px;">{$orgCity|codeToAirport} </span>
                </td>
                <td width="20%"><img src="http://cdn.lydlr.com/public/images/flight/ticket_10.png" width="70%"></td>
                <td width="40%" class="text-right">
                    <span style="margin-right: 10px;">{$dstCity|codeToAirport} </span>
                </td>
            </tr>
            <tr>
                <td width="40%">
                    <if condition="$orgCity eq 'NAY'">
                        <span style="margin-left: 10px;">南苑机场 </span>
                        <elseif condition="$orgCity eq 'PVG'"/>
                        <span style="margin-left: 10px;">浦东机场 </span>
                        <else/>
                        <span style="margin-left: 10px;">{$orgCity|nameToAirport} </span>
                    </if>
                    <if condition="($orgJetquay eq 'Array') or ($orgJetquay eq '--')">
                        <else/>
                        {$orgJetquay}
                    </if>
                </td>
                <td width="5%"></td>
                <td width="40%" class="text-right">
                    <if condition="$dstCity eq 'NAY'">
                        南苑机场
                        <elseif condition="$dstCity eq 'PVG'"/>
                        浦东机场
                        <else/>
                        {$dstCity|nameToAirport}
                    </if>
                    <if condition="($dstJetquay eq 'Array') or ($dstJetquay eq '--')">
                        <else/>
                        <span style="margin-right: 10px;">{$dstJetquay}</span>
                    </if>
                </td>
            </tr>
            <tr>
                <td width="40%" class="text-left">
                    <span style="margin-left: 10px;">{$depTime}</span>
                </td>
                <td width="20%"></td>
                <td width="40%" class="text-right">
                    <span style="margin-right: 10px;">{$arriTime}</span>
                </td>
            </tr>
        </table>
        <p></p>

        <div class="flight-list-border--dashed-bottom"></div>

        <table class="table">
            <tr>
                <td width="20%">类型</td>
                <td width="20%">单人总价</td>
                <td width="20%">结算价</td>
                <td width="20%">燃油税</td>
                <td width="20%">基建费</td>
            </tr>
            <tr>
                <td width="20%">成人</td>
                <td width="20%"><span class="flight-text-c2">&yen;{$adultTotalPrice|getYuan}</span></td>
                <td width="20%"><span class="flight-text-c2">&yen;{$parPriceFen|getYuan}</span></td>
                <td width="20%"><span class="flight-text-c2">&yen;{$fuelTax|getYuan}</span></td>
                <td width="20%"><span class="flight-text-c2">&yen;{$airportTax|getYuan}</span></td>
            </tr>
            <if condition="($seatCode eq 'Y') or ($seatCode eq 'C') or ($seatCode eq 'F')">
                <tr>
                    <td width="20%">儿童</td>
                    <td width="20%"><span class="flight-text-c2">&yen;{$childTotalPrice|getYuan}</span></td>
                    <td width="20%"><span class="flight-text-c2">&yen;{$childPrice|getYuan}</span></td>
                    <td width="20%"><span class="flight-text-c2">&yen;{$fuelTax|getYuan}</span></td>
                    <td width="20%"><span class="flight-text-c2">&yen;0.00</span></td>
                </tr>
            </if>
        </table>


        <div class="row flight-create-flighter">
             
            <div class="col-xs-11 text-left flight-text-c4">&nbsp;&nbsp;乘机人信息</div>
        </div>


        <p></p>

        <div class="flight-list-border-bottom" style="border:none"></div>

        <input type="hidden" class="adultPrice" value="{$adultTotalPrice|getYuan}">
        <input type="hidden" class="childPrice" value="{$childTotalPrice|getYuan}">
        <input type="hidden" class="seatCode" value="{$seatCode}">

        <!--第1位-->
        <div class='filterNum'>
            <div class="div1">
                <div class="passenger-container">
                    <div class="row">
                        <p></p>

                        <div class="col-xs-12">
                            <span style="float: left;margin-top: 5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;第 <span
                                    class="flight-text-c2 passengerNum1"><b>1</b></span> 位</span>
                        </div>
                    </div>
                    <p></p>

                    <div class="flight-list-border-bottom"></div>

                    <div class="form-inline preorder">
                        <div class="form-group">
                            <div class="input-group">
                                <div class="input-group-addon pt border-none">乘客姓名:</div>
                                <input type="text" style="width:80%" class="form-control nb name1 passenger-name"
                                       name="name1" placeholder="请填写乘客姓名"/>
                            </div>
                        </div>
                    </div>

                    <p></p>

                    <div class="flight-list-border-bottom"></div>

                    <div class="form-inline preorder">
                        <div class="form-group">
                            <div class="input-group">
                                <div class="input-group-addon pt border-none">乘客类型:</div>
                                <label class="checkbox-inline" style='margin-left:-15px;'>
                                    <input type="radio" name="type1" value="0" checked> 成人
                                </label>
                            </div>
                        </div>
                    </div>


                    <p></p>

                    <div class="flight-list-border-bottom"></div>

                    <p></p>

                    <div class="flight-list-border-bottom"></div>

                    <div class="form-inline preorder">
                        <div class="form-group">
                            <div class="input-group">
                                <div class="input-group-addon pt border-none">证件类型:</div>
                                <select name="identityType1" class="form-control identityType1" style="width: 80%">
                                    <option value="1">身份证</option>
                                    <option value="2">护照</option>
                                    <option value="3">军官证</option>
                                    <option value="4">士兵证</option>
                                    <option value="5">台胞证</option>
                                    <option value="6">港澳通行证</option>
                                </select>
                            </div>
                        </div>
                    </div>


                    <p></p>

                    <div class="flight-list-border-bottom"></div>

                    <div class="form-inline preorder">
                        <div class="form-group">
                            <div class="input-group">
                                <div class="input-group-addon pt border-none">证件号码:</div>
                                <input type="text" name="identityNo1"
                                       class="form-control identityNo1 passenger-identityNo" placeholder="请填写证件号"
                                       style="width: 80%;">
                            </div>
                        </div>
                    </div>


                    <div class="form-inline preorder childBirth" style="display:none">
                        <div class="form-group">
                            <div class="input-group">
                                <div class="input-group-addon pt border-none">生日:</div>
                                <input type="text" name="birthday1"
                                       class="form-control identityNo1 passenger-identityNo" style="width: 80%;">
                            </div>
                        </div>
                    </div>

                    <p>&nbsp;</p>

                    <div class="flight-list-border-dashed-b2"></div>
                </div>
            </div>
        </div>
        <p>&nbsp;</p>

        <div class="row">
            <div class="col-xs-11 text-right">
                <input type="button" class="btn btn-success addPassenger" value="添加乘机人">
            </div>
        </div>


        <div class="row">
             
            <div class="col-xs-12 text-left flight-text-c4 flight-create-flighter">&nbsp;&nbsp;联系人信息</div>
        </div>

        <p></p>

        <div class="form-inline preorder">
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon pt border-none">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓&nbsp;名:</div>
                    <input type="text" style="width:80%" class="form-control nb linkMan" name="linkMan"
                           placeholder="请填写您的真实姓名"/>
                </div>
            </div>
        </div>


        <p></p>

        <div class="flight-list-border-bottom"></div>


        <div class="form-inline preorder">
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon pt border-none">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;手&nbsp;机:</div>
                    <input type="number" style="width:80%" class="form-control nb linkPhone" name="linkPhone"
                           placeholder="请填写手机号"/>
                </div>
            </div>
        </div>


        <div class="form-inline preorder">
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon pt border-none">(该手机号会收到出票通知)</div>
                </div>
            </div>
        </div>

        <p></p>

        <div class="flight-list-b3">
            &nbsp;
        </div>
        <p></p>

        <div class="row flight-create-button">
             
            <div class="col-xs-6 text-left">&nbsp;&nbsp;订单总额:&nbsp;<span class="flight-text-c2 ordertotal">&yen; <span>{$adultTotalPrice|getYuan}</span>
            </div>
            <div class="col-xs-5 text-right" style="padding:0;margin:0;">
                <input type="submit" class="btn btn-warning showSub" value="提交订单">
                <div id="showDiv"></div>
                <div class="showLoad" style="display:none">
                    <img src="http://cdn.lydlr.com/public/images/load.gif"> <span style="color: #c6c6c6">亲,您的订单正在提交,请勿关闭订单</span>
                </div>
            </div>
        </div>

    </form>

    <div class="modal fade popWin bs-example-modal-sm" id="myModalmob" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title text-center" id="myModalLabel">温馨提示</h4>
                </div>
                <div class="modal-body text-center">
                    <p class="tipsBox"><i class="suc">亲，您最多可以添加6位乘机人</i></p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal" aria-label="Close">确认</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
                </div>
            </div>
        </div>
    </div>
    <footer class="footer">
        <include file="Template/foot"/>
        <script src="__PUBLIC__/js/flightOrderInfo.js?v=72"></script>
    </footer>


</div>
</body>
</html>
